package com.ruoyi.system.domain.equipment;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 设备报修维修图片对象 bxwx_img
 *
 * @author ruoyi
 * @date 2023-04-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("bxwx_img")
public class BxwxImg implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id")
    private Long id;

    @Excel(name = "关联id")
    private Long relationId;

    @Excel(name = "图片类型 0-报修图片 1-维修图片")
    private Integer type;

    @ApiModelProperty(value = "图片地址")
    @Excel(name = "图片地址")
    private String imgPath;

    @Excel(name = "关联类型 0-报修维修 1-知识库")
    private Integer relationType;
}
